package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Team entity. @author MyEclipse Persistence Tools
 */

public class Team implements java.io.Serializable {

	// Fields

	private Integer teamId;
	private Chapter chapter;
	private String teamName;
	private String ftpUserName;
	private String ftpPassword;
	private String description;
	private Integer locked;
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Team() {
	}

	/** minimal constructor */
	public Team(Chapter chapter, String teamName, String ftpUserName,
			String ftpPassword, Integer locked) {
		this.chapter = chapter;
		this.teamName = teamName;
		this.ftpUserName = ftpUserName;
		this.ftpPassword = ftpPassword;
		this.locked = locked;
	}

	/** full constructor */
	public Team(Chapter chapter, String teamName, String ftpUserName,
			String ftpPassword, String description, Integer locked, Set users) {
		this.chapter = chapter;
		this.teamName = teamName;
		this.ftpUserName = ftpUserName;
		this.ftpPassword = ftpPassword;
		this.description = description;
		this.locked = locked;
		this.users = users;
	}

	// Property accessors

	public Integer getTeamId() {
		return this.teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public Chapter getChapter() {
		return this.chapter;
	}

	public void setChapter(Chapter chapter) {
		this.chapter = chapter;
	}

	public String getTeamName() {
		return this.teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}

	public String getFtpUserName() {
		return this.ftpUserName;
	}

	public void setFtpUserName(String ftpUserName) {
		this.ftpUserName = ftpUserName;
	}

	public String getFtpPassword() {
		return this.ftpPassword;
	}

	public void setFtpPassword(String ftpPassword) {
		this.ftpPassword = ftpPassword;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getLocked() {
		return this.locked;
	}

	public void setLocked(Integer locked) {
		this.locked = locked;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}